function readFile(file: File,invoke: Function){

    let reader = new FileReader();
    reader.readAsText(file,"UTF-8");
    reader.onload = function(evt:any){
        invoke(evt.target.result);
    }
}
export {readFile}